package com.snailcatmall.www.window;

import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.control.ListView;
import javafx.scene.layout.Pane;



public class ListViewFiles {
    public static  ObservableList<String> list = FXCollections.observableArrayList();
    public static  ListView<String> listView = new ListView(list);
    static {
        init();
    }
    public static void init() {
        listView.setLayoutX(0);
        listView.setLayoutY(0);
//        listView.setDisable(true);
//        listView.setStyle("-fx-background-color: #345aa6");
        listView.setPrefWidth(500);
        listView.setPrefHeight(100);
    }
}
